package org.zjt.register.service;

import org.zjt.config.RegisterConfig;
import org.zjt.config.ZKConnectCenter;
import org.zjt.domain.RegisteNodeData;

import java.util.Map;
/**
 * Created by Administrator on 2017/4/13.
 */
public interface IRegisterService {



    /**	保存interface class ：多个对等服务 */

    void loadRouteInfo(ZKConnectCenter zkConnectCenter, RegisterConfig applicationConfig, String RPC_PARENT_PATH)throws Exception;

    void watchRouteInfo(final String RPC_PARENT_PATH,ZKConnectCenter zkConnectCenter, RegisterConfig applicationConfig)throws Exception;


    void registerRouteInfo(Map<String,RegisteNodeData> data,String serverName , Integer port  ,ZKConnectCenter zkConnectCenter,String RPC_PARENT_PATH)throws Exception;

}
